<%@page contentType="text/html; charset=UTF-8"%>
<%@taglib uri="/WEB-INF/struts-tags.tld" prefix="s"%>
<%@taglib uri="/WEB-INF/wm.tld" prefix="wm"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>外卖管理系统</title>
<link rel="stylesheet" href="/css/admin.css" type="text/css"/>
<script type="text/javascript" src="/js/jquery-1.6.1.min.js"></script>
</head>
<body leftmargin="2" topmargin="2">
<fieldset><legend>用户自定义大厦管理：</legend>
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1">
  <COLGROUP>
  <COL width="*" />
  <COL width="100" />
  <COL width="200" />
  <COL width="100" />
  <COL width="100" />
  <COL width="300" />
  <tr style="font-weight: bold;" align="center" class="tdbg2"> 
    <td>地区</td>
    <td>名称</td>
    <td>类型</td>
    <td>时间</td>
    <td>管理操作</td>
  </tr>
<s:iterator id="us" value="%{pageList.objectList}" status="st" >
<s:url action="admin_user_scriptorium?action=updateverify&id=${us.id}" id="updateverifyurl" />
<s:url action="admin_user_scriptorium?action=del&id=${us.id}" id="scriptoriumdelurl" />
    <tr class="tdbg3" align="center"> 
      <td><s:property value="#us.city.cityName"/>-<s:property value="#us.area.areaName"/></td>
      <td>
      <s:property value="#us.scrName"/>
      </td>
      <td>
      <s:if test="#us.isVerify==0">
      	未处理
      </s:if>
      <s:if test="#us.isVerify==1">
      	己处理
      </s:if>
       | 
      <s:if test="#us.addType==1">
      	写字间
      </s:if>
      <s:if test="#us.addType==2">
      	住宅
      </s:if>
      <s:if test="#us.addType==3">
      	商铺
      </s:if>
      </td>
      <td>
	  <s:date name="#us.addTime" format="yyyy-MM-dd HH:mm:ss"/>
      </td>
      <td>
      <a href="${scriptoriumdelurl}" onclick="{if(confirm('执行此删除操作后该信息不能恢复，确定删除吗？')){return true;}return false;}">删除</a> |
      <a href="${updateverifyurl}">更改状态</a> 
      </td>
    </tr>
</s:iterator>
<tr align="center" class="tdbg2"> 
   <td colspan="5"><wm:pages value="%{pageList.pages}"/></td>
</tr>
</table>
</fieldset>
</body>
</html>
